<!DOCTYPE html>
<html>

<head>
<#include "/common/head.html"/>
</head>

<body>
	<div class="layui-fluid">
		<div class="layui-row">
			<form method="post" class="layui-form layui-form-pane" lay-filter="form-val-filter">

				<input type="hidden" name="id" value="${vo.id?c}">

				<div class="layui-form-item layui-form-text">
					<label class="layui-form-label">内容</label>
					<div class="layui-input-block">
						<textarea name="value" class="layui-textarea"
							lay-verify="required" placeholder="请输入内容">${vo.value}</textarea>
					</div>
				</div>

				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="submit" class="layui-btn" lay-submit
							lay-filter="add">提交</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>

			</form>
		</div>
	</div>
	<script>
		layui.use(function() {
			var form = layui.form;

			form.on('submit(add)', function(data) {
				var field = data.field;
				winPost("/v1/common/configure", convertFormParams(field));
				return false;
			});

		});
	</script>
</body>

</html>